import request from '@/utils/request'
// 获取分公司
export function selectdown(params) {
  return request({
    url: 'branch/selectdown',
    method: 'get',
    params,
    headers: {
      'Content-Type': 'application/json'
    }
  })
}
export function add_depart(params) {
  return request({
    url: 'department/add',
    method: 'post',
    params,
    headers: {
      'Content-Type': 'application/json'
    }
  })
}
export function get_depart(params) {
  return request({
    url: 'department/select',
    method: 'post',
    params,
    headers: {
      'Content-Type': 'application/json'
    }
  })
}

